This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: CreateDocumentCollection -> Invalid object type for method argument
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.1
Reproducible: Always
Hi all,
I build a NotesDocumentCollection from a loop using:
Set dc = db.CreateDocumentCollection 'Create empty document collection
Call dc.AddDocument(doc)
Then I want to compare the documentcollection with all entries in a view. Hey.. a new method of NotesViewEntryCollection called Subtract!
So:
Set vec = vw.AllEntries
Call vec.Subtract(dc)
But unfortunataly, a runtime error is raised: "Invalid object type for method argument"
When I create the empty document collection using db.Search({This="aFakeSearch"}, Nothing, 0), it works fine.
So this seems an issue in the CreateDocumentCollection method.
Bas
Feedback number WEBB86HH3D created by ~Lisa Quetfanateroni on 06/17/2010
Status: Open
Comments: